package com.lxl.service.impl;

import com.lxl.mapper.TeacherMapper;
import com.lxl.pojo.Student;
import com.lxl.pojo.Teacher;
import com.lxl.service.TeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TeacherServiceImpl implements TeacherService {

    @Autowired
    private TeacherMapper teacherMapper;

    @Override
    public Teacher login(Teacher teacher) {
        return teacherMapper.login(teacher);
    }


}
